package supermarket.dao;

import java.util.List;

import supermarket.model.Customer;
import supermarket.model.Product;

public interface Shop {

	Customer getCustomer(Integer id);
	List getCustomerByName(String name);
	List getCustomerList();
	void addCustomer(Customer customer);
	void addCustomerByName(String name);
	void updateCustomer(Customer customer);
	void removeCustomer(Customer customer);
		
	Product getProduct(Integer id);
	List getProductByName(String name);
	List getProductByCategory(String category);
	List getProductList();
	void addProduct(Product product);
	void addProductByName(String name);
	void updateProduct(Product product);
	void removeProduct(Product product);
	
}
